home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 076-100 / disk_096 / timeram / readme < prev    next >
Text File  |  1992-05-06  |  3KB  |  73 lines

  1.  
  2. Documentation?    Ok, here's some...  I wish that someone would write a
  3. program which will grade the quality of the ram boards that are being used.
  4. In my beginning attempts at writing in the Lattice-C language and the Amiga
  5. PC, I've programmed this test.  The results may mean something but who
  6. knows and I only can hope. I need some explanation on what I'm doing.  I
  7. need to find the access speeds of Fast and Chip ram.  Really. How can a
  8. pocket watch clock the speed of light?    How? Use a computer?  WORDS OF
  9. CAUTION! The program sets the priority of the current task to 127,
  10. Forbid()s, and Disable()s the machine during testing.  DON'T REMOVE OR
  11. INSERT DISKS DURING THE TEST!  Afterwards, things SHOULD return to normal
  12. again.    The timings returned are how long it took for a 1K long ram copy
  13. program to copy itself to another 1K area of memory.  Inorder to get a more
  14. accurate reading of the time, the copying is repeated 15,000 or so times
  15. and reported in milliseconds from the V_BLANK timer.  This timer is 116.7
  16. milliseconds accurate. TimeRam has two self-copying routines; One routine
  17. resides in ChipRam and the other resides in FastRam.  Also, two 1K areas of
  18. ram are allocated as targets; One target lives in ChipRam and the other in
  19. FastRam.  The program proceeds as follows:
  20.  
  21.    1) ChipRam copier copies itself to ChipRam and is timed.
  22.    2) FastRam copier copies itself to FastRam and is timed.
  23.    3) ChipRam copier copies itself to FastRam and is timed.
  24.    4) FastRam copier copies itself to ChipRam and is timed.
  25.  
  26. None of this information tells much about the QUALITY of the ramboards out
  27. there for sale;  Unless, of course, we spread the word to others of our
  28. ramboards and these figures. It may be of some use to programmers to
  29. understand how to speed up their programs though.  Who knows?  I had fun
  30. writing the program, anyway.  Tell me about it. Bruce's repair and testing
  31. (415) 525-6973 Berkeley, California, USA, Third Planet Ol' Sol, 94710-1706.
  32.  
  33. Special thanks to Bryce Nesbitt for getting me to do what I wouldn't have
  34. done 'cause I didn't know how to do it and didn't know it existed anyway.
  35. Ya Know?  I didn't.
  36.  
  37. Here're the test results of an internal ramboard from a company with morals
  38. not to sell, but honest enough to let me test and they improve.  More power
  39. to 'em.
  40.  
  41. ----------------------------------
  42. chipram to chipram  11.883 seconds
  43. fastram to fastram  12.833 seconds
  44. chipram to fastram  13.333 seconds
  45. fastram to chipram  12.166 seconds
  46.  
  47. With HAM displayed on the monitor:
  48.  
  49. chipram to chipram  14.550 seconds
  50. fastram to fastram  12.833 seconds
  51. chipram to fastram  13.516 seconds
  52. fastram to chipram  12.950 seconds
  53. ----------------------------------
  54.  
  55. TimeRam is absolutely free as long as you own an Amiga PC. If you don't
  56. have an Amiga, you can treasure it anyway.
  57.  
  58.         Bruce T.
  59.  
  60.  
  61. You may also send test results to:
  62.  
  63. bryce@cogsci.Berkeley.EDU
  64. ucbvax!cogsci!bryce
  65.  
  66. -or, if that does not work, try-
  67. bryce@hoser.Berkeley.EDU
  68. ucbvax!hoser!bryce
  69.  
  70. When test results are in for all the memory boards, the findings will
  71. be summaried to comp.sys.amiga.
  72.  
  73.